package com.lin.chapter12.ordinary;

import java.time.LocalDateTime;

public class Client {
	public static void main(String[] args) {
		IGamePlayer player = new GamePlayer("张三");
		GamePlayerProxy proxy = (GamePlayerProxy) player.getProxy();

		System.out.println("开始时间是： " + LocalDateTime.now());
		proxy.login("zhangshan", "password");
		proxy.killBoss();
		proxy.upgrade();
		proxy.count();

		System.out.println("结束时间是：" + LocalDateTime.now());
	}
}
